import React from 'react';
import './App.css';
import Header from './common/Header/index.js';
import {BrowserHistory,Route} from 'react-router-dom'
import {Provider} from 'react-redux';
import store from './store/index.js';
// class App extends React.Component{
//   render(){
//     return <h1>welcome to react!</h1>
//   }
// }


function App() {
  return (
    <Provider store={store}>
      <Header></Header>
      <BrowserHistory>
      <Route></Route>
      </BrowserHistory>
    </Provider> 
  );
}

export default App;
